package com.suse.springtransdemo.sevice;

import com.suse.springtransdemo.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public Integer insertUser(String name, String password) {
        return userInfoMapper.insert(name,password);
    }
}
